package projectiles;

import java.awt.Dimension;
import java.awt.geom.Point2D;

import javax.swing.ImageIcon;

import core.ShootingUnit;

public class Plasmaball extends Projectile {
	
	private static final ImageIcon image = new ImageIcon(Plasmaball.class.getResource("../images/plasmaball.gif"));
	public static final int damage = 50;
	public static final int speed = 1750;

	public Plasmaball( ShootingUnit origin, Point2D.Double position, int viewAngle, Point2D.Double destination ) {
		super(origin, position, viewAngle, new Dimension(Plasmaball.image.getIconWidth(), Plasmaball.image.getIconHeight()), Plasmaball.image, Plasmaball.damage, destination, Plasmaball.speed );
	}

}